/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const componentsRouter = {
    path: '/components',
    component: Layout,
    redirect: 'noRedirect',
    name: 'ComponentDemo',
    meta: {
        title: '企业信息',
        icon: 'component'
    },
    children: [{
            path: 'tinymce',
            component: () =>
                import ('@/views/components-demo/tinymce'),
            name: 'TinymceDemo',
            meta: { title: '多维度的信息查询' }
        },
        {
            path: 'markdown',
            component: () =>
                import ('@/views/components-demo/markdown'),
            name: 'MarkdownDemo',
            meta: { title: '精准搜索企业客户' }
        },
        {
            path: 'json-editor',
            component: () =>
                import ('@/views/components-demo/json-editor'),
            name: 'JsonEditorDemo',
            meta: { title: '企业风险信息监控' }
        },
        {
            path: 'mixin',
            component: () =>
                import ('@/views/components-demo/mixin'),
            name: 'MiXinDemo',
            meta: { title: '新增企业实时推送' }
        }
    ]
}

export default componentsRouter